﻿using MiData;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace VolunteerManager.Model
{
    /// <summary>
    /// 活动Log
    /// </summary>
    public class ProgramLog : MiData.MiActiveRecord
    {
        public override string TableName
        {
            get { return "view_ProgramLog"; }
        }

        [Column(Name = "Name")]
        public string Name { get; set; }




        [Column(Name = "Date")]
        public DateTime Date { get; set; }


        [Column(Name = "Wechat")]
        public string Wechat { get; set; }

        [Column(Name = "Sex")]
        public Sex Sex { get; set; }

        /// <summary>
        /// 
        /// </summary>
        [Column(Name = "GroupID")]
        public int GroupID { get; set; }

        /// <summary>
        /// 
        /// </summary>
        [Column(Name = "GroupName")]
        public string GroupName { get; set; }

        [Column(Name = "Phone")]
        public string Phone { get; set; }

        /// <summary>
        /// 评分
        /// </summary>
        [Column(Name = "Rate")]
        public string Rate { get; set; }

        /// <summary>
        /// 活动名称，包含 活动地点
        /// </summary>
        [Column(Name = "ProgramName")]
        public string ProgramName { get; set; }


        [Column(Name = "Leader")]
        public string Leader { get; set; }


        [Column(Name = "DeputyLeader")]
        public string DeputyLeader { get; set; }



        [Column(Name = "Month")]
        public string Month { get; set; }

        [Column(Name = "Address")]
        public string Address { get; set; }

    }
}
